export const useUserStore = defineStore('user', {
  state: () => ({
    userInfo: null as IUserInfo | null
  }),

  actions: {
    setUserInfo(payload: IUserInfo) {
      this.userInfo = payload
    }
  },

  persist: true
})
